package org.jeecg.modules.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 活动
 * @Author: wufanxin
 * @Date:  2021-06-22
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("con_activity_info")
public class ActivityInfo extends JeecgEntity {

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 删除状态
	 */
	private String delFlag;

	/**
     * 任务id
	 */
	private String taskId;

	/**
	 * 任务名称
	 */
	private  String taskName;

	/**
	 * 主题id
	 */
	private String themeId;

	/**
	 * 主题名称
	 */
	private String themeName;

	/**
	 * 活动类型 1、线上 2、线下 3、仅内部 4、其他
	 */
	private int activityType;

	/**
	 * 活动分类ID
	 */
	private String categoryId;

	/**
	 * 活动分类名称
	 */
	private String categoryName;

	/**
	 * 活动编号
	 */
	private String activityNo;

	/**
	 * 活动标题
	 */
	private String activityTitle;

	/**
	 * 活动子标题
	 */
	private String activitySubTitle;

	/**
	 * 活动简介
	 */
	private String activityIntroduction;

	/**
	 * 内容
	 */
	private String content;

	/**
	 * 活动宣传图
	 */
	private String imgUrl1;
	private String imgUrl2;
	private String imgUrl3;
	private String imgUrl4;
	private String imgUrl5;
	private String imgUrl6;

	/**
	 * 活动时间
	 */
	private  String activityTime;

	/**
	 * 开始时间
	 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private java.util.Date beginTime;

	/**
	 * 结束时间
	 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private java.util.Date endTime;

	private int provinceId;

	private int cityId;

	private int countyId;

	private double longitude;

	private double latitude;

	private String activityAddr;

	/**
	 * 申请结束时间
	 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private java.util.Date applyEndTime;

	/**
	 * 申请人数限制
	 */
	private int applyLimitNum;

	/**
	 * 报名人数
	 */
	private int applyNum;

	/**
	 * 主办单位
	 */
	private String hostUnit;

	private String keyword;

	/**
	 * 是否发布 1、是  0、否 2 等待
	 */
	private int isRelease;

	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private java.util.Date releaseTime;

	/**
	 * 1、立即发布 2、定时发布
	 */
	private int releaseMode;

	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private java.util.Date timedReleaseTime;

	private int isTop;

	private int sort;


	private int remarkNum;

	private int readNum;

	private int collectionNum;

	private int thumbsNum;

	private int shareNum;

}
